// sync_panda_tables_get_arg.h
//

#if !defined(GET_ARG_H)
#define GET_ARG_H

#include <string>
//#include <iosfwd>
#include <sstream>
#include <iostream>
#include <fstream>


#include <program_options_helper.h>

class t_program_args : public program_options_helper::t_std_program_args_with_errors
{
friend
	bool process_command_line_options(int argc, char* argv[], t_program_args& args);

public:


	bool			analyse;
	bool			remove;

	// SQL table and columns
	std::string		table;
	std::string		columns;



	// database login string
	std::string		db_login;


	std::istream&	INPUT() {return *p_input_strm;}
private:
	std::ifstream	input_file_strm;
	std::istream*	p_input_strm;
};


bool process_command_line_options(int argc, char* argv[], t_program_args& args);
#endif //SYNC_PANDA_TABLES_GET_ARG_H
